/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.testis.orm.dynamicmap.validation;

import org.testis.orm.refinedclasses.DynamicMapDesignTreeNode;

/**
 * 
 * @author nurhat
 */
public class ValidateUIDeviMapContainerObject extends ValidateUIContainer {

    @Override
    public void validate(DynamicMapDesignTreeNode node,
	    DynamicMapDesignTreeNode root) {
	if (!node.getObject().getTypeName().equals("UIDeviceMapContainer")) {
	    return;
	}

	validateParameter("LoginPageId", node, root, "UIPage", true);
	validateParameter("FactorySettingsIp", node, root, "", true);
	validateParameter("IpAddressTxtAbstractId", node, root, "UITextBox",
		true);
	validateParameter("IpAddressBtnAbstractId", node, root, "UIButton",
		true);

	super.validate(node, root);
    }
}
